package com.youlai.system.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
public class SocialSecurity {
    /**
     * 社保ID
     */
    private Integer id;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 参保城市ID
     */
    private String participatingInTheCityId;
    /**
     *  参保类型 (1为首次开户, 2为非首次开户)
     */
    private Integer socialSecurityType;
    /**
     * 户籍类型 (1为本市城镇, 2为本市农村, 3为外埠城镇, 4为外埠农村)
     */
    private Integer householdRegistrationType;
    /**
     * 社保基数
     */
    private Float socialSecurityBase;
    /**
     * 工伤比例
     */
    private Float industrialInjuryRatio;
    /**
     * 社保备注
     */
    private String socialSecurityNotes;
    /**
     * 公积金城市ID
     */
    private String providentFundCityId;
    /**
     * 公积金基数
     */
    private Float providentFundBase;
    /**
     * 公积金企业比例
     */
    private Float enterpriseProportion;
    /**
     * 公积金个人比例
     */
    private Float personalProportion;
    /**
     * 公积金企业缴纳数额
     */
    private Float enterpriseProvidentFundPayment;
    /**
     * 公积金个人缴纳数额
     */
    private Float personalProvidentFundPayment;
    /**
     * 公积金备注
     */
    private String providentFundNotes;
    /**
     * 最后修改时间
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastModifyTime;
    /**
     * 户籍
     */
    private String householdRegistration;
    /**
     * 社保个人缴纳金额
     */
    private String personalPayment;
    /**
     * 社保公司缴纳金额
     */
    private String companyPayment;
}

